import students from '../mock/students';

module.exports = function (app) {
  app.get('/students', (req, res) => res.status(201).json(students));
  app.get('/students/:id', (req, res) => {
    const id = req.params.id;
    res.status(200).send({ id });
  })
}
